package com.cykj.service.impl;

import com.cykj.entity.GoodsEntity;
import com.cykj.mapper.ProDetailMapper;
import com.cykj.service.ProDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProDetailServiceImpl implements ProDetailService {
    @Autowired
    private ProDetailMapper mapper;

    @Override
    public List<GoodsEntity> selGoodsId(int id) {
        return mapper.selGoodsId(id);
    }

    @Override
    public int addorder(int id, String time, int number, String state) {
        return mapper.addorder(id, time, number, state);
    }
}
